package com.zmn.oms.services.interfaces.part;

import com.zmn.oms.model.entity.part.OrderPartAddition;

/**
 * 类描述：订单配件附加
 * @author wangxiaokun
 * @since  2022/03/21 14:44
 */
public interface OrderPartAdditionService {


    /**
     * 根据主键查询配件附加
     * @param orderId
     * @param workId
     * @return
     */
    OrderPartAddition findById(Long orderId, Long workId);

    /**
     * 根据主键修改
     * @param orderPartAddition
     */
    void updateByKey(OrderPartAddition orderPartAddition);

    /**
     * 插入附件表
     * @param orderPartAddition
     */
    void insert(OrderPartAddition orderPartAddition);

}
